package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pojo.AdminRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AdminRoleDAO extends BaseMapper<AdminRole> {

    IPage<Map> findRoleByAdmin(IPage iPage, @Param("text") String text);

    List<String> shifouGuanliyuan(String id);

    //List<Map> findAllRole();

}
